package com.itany.hotel.service;

import com.itany.hotel.entity.Subscription;
import com.itany.hotel.entity.SubscriptionDtl;

import java.util.List;

public interface SubscriptionService {

    public List<Subscription> findUnacknowledged(Integer memberId);

    public List<Subscription> findHistorical(Integer memberId);

    //添加明细
    /*
        订单
            id no   mid
            1  001  abc

        明细
            id rid sid sdate        edate
            1  101 1   2022/02/02   2022/02/05
            2  102 1   2022/02/02   2022/02/05

        居住
            保存每天每个房间谁在住
            id dtlid residedate
            1  1     2022/02/02
            2  1     2022/02/03
            3  1     2022/02/04
            4  2     2022/02/02
            4  2     2022/02/03
            4  2     2022/02/04

     */
    public void addDetail(List<SubscriptionDtl> subscriptionDtls);


}






















